#ifndef DIALOG_H
#define DIALOG_H

#include <QDialog>

namespace Ui {
class FormPassword;
}

class FormPassword : public QDialog
{
    Q_OBJECT

public:
    explicit FormPassword(QWidget *parent = 0);
    ~FormPassword();

    ///
    /// \brief ClearText
    ///
    void ClearText();

protected:

private:
    Ui::FormPassword *ui;

    bool reinput_ = false;
    QString password_ = "";

signals:
    void CheckSuccess();

public slots:

private slots:
    void on_N1PushButton_clicked();
    void on_N2PushButton_clicked();
    void on_N3PushButton_clicked();
    void on_N4PushButton_clicked();
    void on_N5PushButton_clicked();
    void on_N6PushButton_clicked();
    void on_N7PushButton_clicked();
    void on_N8PushButton_clicked();
    void on_N9PushButton_clicked();
    void on_N0PushButton_clicked();
    void on_EnterPushButton_clicked();
    void on_CancelPushButton_clicked();
};

#endif // DIALOG_H
